package com.two.service.caipin.OpenFeign;

import com.two.common.entity.Menu;
import com.two.common.util.CommonResult;
import com.two.service.shopcar.entity.Shopcar;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

@FeignClient(value = "two-orderSystem-service-shopcar")
public interface OpenFeignShopcar {

        @PostMapping("/addByUsername")
        public CommonResult addByUsername();


        @PostMapping("/shopcar/addGoods")
        CommonResult addGoods(@RequestParam String token, @RequestBody Shopcar[] shopcar);



}
